package Thread;

public class Demo15 {
    public static void main(String[] args) {
        Object lock=new Object();
        Thread t1=new Thread(()->{
            synchronized (lock){
                synchronized (lock){
                    System.out.println("t1");
                }
            }
        });
        t1.start();
    }
}
